package Template5::Info::Element::Element;

#public
sub new($$)
{
	my $class     = shift;
	my $hHTMLNode = shift;
	my $params    = shift;

	my $this = {'value' => $hHTMLNode->as_text() || $hHTMLNode->attr('value')};

	return bless($this, $class);			
};

sub get_value()
{
	my $this = shift;
	return $this->{'value'};
};

1;

